package com.uniview.feign.client;

import com.uniview.dto.RespDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;

/**
 * created by lux
 */
@Component
@FeignClient(value = "auth-service")
public interface AuthServiceClient {
    @RequestMapping("/testBody")
    RespDTO<Map<String,Object>> test(@RequestBody Map<String,Object> test);
}
